﻿using System;
namespace Maticsoft.Model
{
	/// <summary>
	/// documentFlowMapping:实体类(属性说明自动提取数据库字段的描述信息)
	/// </summary>
	[Serializable]
	public partial class documentFlowMapping
	{
		public documentFlowMapping()
		{}
		#region Model
		private int _documentflowmapping_id;
		private string _documentflowmapping_name;
		private DateTime? _documentflowmapping_creattime;
		private int? _documentflowmapping_creatuser;
		private string _document_tablename;
		private int? _flow_id;
		private int? _flow_order;
		private string _flow_name;
        private bool _islastflow = false;
        private string _flow_op;
        private int? _depid;
        private int? _pmid;

        /// <summary>
        ///采购类别
        /// </summary>
        public int? pmid
        {
            set { _pmid = value; }
            get { return _pmid; }
        }
        /// <summary>
        /// 所属部门ID
        /// </summary>
        public int? depid
        {
            set { _depid = value; }
            get { return _depid; }
        }

        /// <summary>
        /// 流程说明
        /// </summary>
        public string flow_op
        {
            get { return _flow_op; }
            set { _flow_op = value; }
        }


		/// <summary>
		/// 公文流程对应表
		/// </summary>
		public int documentFlowMapping_id
		{
			set{ _documentflowmapping_id=value;}
			get{return _documentflowmapping_id;}
		}
		/// <summary>
		/// 公文对应流程名称
		/// </summary>
		public string documentFlowMapping_name
		{
			set{ _documentflowmapping_name=value;}
			get{return _documentflowmapping_name;}
		}
		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime? documentFlowMapping_creatTime
		{
			set{ _documentflowmapping_creattime=value;}
			get{return _documentflowmapping_creattime;}
		}
		/// <summary>
		/// 创建人
		/// </summary>
		public int? documentFlowMapping_creatUser
		{
			set{ _documentflowmapping_creatuser=value;}
			get{return _documentflowmapping_creatuser;}
		}
		/// <summary>
		/// 对应公文表名称
		/// </summary>
		public string document_tableName
		{
			set{ _document_tablename=value;}
			get{return _document_tablename;}
		}
		/// <summary>
		/// 所需流程
		/// </summary>
		public int? flow_id
		{
			set{ _flow_id=value;}
			get{return _flow_id;}
		}
		/// <summary>
		/// 所需流程顺序
		/// </summary>
		public int? flow_order
		{
			set{ _flow_order=value;}
			get{return _flow_order;}
		}
		/// <summary>
		/// 流程名称
		/// </summary>
		public string flow_name
		{
			set{ _flow_name=value;}
			get{return _flow_name;}
		}
        /// <summary>
        /// 是否是最后一个流程
        /// </summary>
        public bool isLastFlow
        {
            set { _islastflow = value; }
            get { return _islastflow; }
        }
		#endregion Model

	}
}

